<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
	<meta charset="utf-8">
	<title>选择收货地址</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<meta name="format-detection" content="telephone=no" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0,  maximum-scale=1.0" />
		<meta name="format-detection" content="telephone=no" />
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<meta name="apple-mobile-web-app-status-bar-style" content="black" />
		<meta content="black" name="apple-mobile-web-app-status-bar-style" />
		<link rel="stylesheet" type="text/css" href="${ctxStatic}/shopcartstatic/css/public.css" />
		<link rel="stylesheet" href="${ctxStatic}/shopcartstatic/css/easyLife/weui.min.css">
		<link rel="stylesheet" href="${ctxStatic}/shopcartstatic/css/easyLife/style.css">
</head>
<body>

<div class="weui-cells address-list"  id="ssadress">
	<%--<c:forEach var="item" items="${customer}" varStatus="sta">--%>

	<c:forEach items="${page.list}" var="address">
        <a href="/shop/client/adressid?homeid=${address.id}&orderid=${orderid}">
		<div class="weui-cell weui-cell_access addr-item">

			<div class="weui-cell__hd" style="margin-right: 15px">
				<i class="icon-check weui-icon-circle"></i>
				<input type="hidden" value="${address.id}" id="adressid">
			</div>

			<div class="weui-cell__bd">
				<p class="">姓名:${address.user.name}</p>
				<p class="">电话:${address.tel}</p>
				<p class="">地址:${address.address}</p>
			</div>


			<div class="weui-cell__ft">

			</div>
		</div>
        </a>
	</c:forEach>


</div>

<script src="${ctxStatic}/shopcartstatic/js/jquery-1.6.2.min.js "></script>
<script type="text/javascript">
</script>
</body>
<%--<script type="text/javascript">
	$("#ssadress").click(function () {
		alert($("#adressid").val())
		$.ajax({
			url:"/shop/client/adressid",
			dataType: 'json',
			data: {homeid:$("#adressid").val()},
			cache: false,
			/*success: function (data) {
				alert(data.message);
				if (data.status ==0) {
					alert(data.message);
					window.location.href = "customer";
				}
			}*/
		})
</script>--%>
</html>